/*
 * Copyright (C) 2015 MC
 * All rights reserved.
 *
 * $$File: $$
 * $$DateTime: $$
 * $$Author: $$
 * $$Revision: $$
 */

package com.glela.common.constant;

/**
 * @author liujie
 */
public interface BaseConstants {
	final String	DATE_FORMAT					= "yyyy-MM-dd HH:mm:ss";
	final String	DATE_FORMAT_SSS				= "yyyy-MM-dd HH:mm:ss:SSS";
	final String	DATE_FORMAT_YYYYMMDDHHMMSS	= "yyyyMMddHHmmss";
	final String	DATE_FORMAT_MMddHHmm		= "MM月dd日 HH:mm";
	final String	DATE_FORMAT_YYYYMM			= "yyyyMM";
	final String	DATE_FORMAT_YYYYMMDD		= "yyyyMMdd";
	final String	DATE_FORMAT_YYYYMMDDHH		= "yyyyMMddHH";
	final String	DATE_FORMAT_YYYY_MM_DD		= "yyyy-MM-dd";
	final String DATE_FORMAT_UTC = "yyyy-MM-dd'T'HH:mm:ss'Z'";

	/** 孝庄姐姐 */
	final long		XZ_SISTER				= 6497;
	/** 孝庄姐姐身份ID */
	final String	XZ_SISTER_PERSION_ID	= "GZ106163";
	/**
	 * 操作数据库成功
	 */
	int		DB_OPERATION_SUCCESS	= 1;
	/**
	 * 提醒方式：手机
	 */
	String	WARN_WAY_MOBILE			= "moblie";
	/**
	 * 提醒方式：邮箱
	 */
	String	WARN_WAY_MAIL			= "mail";
	/**
	 * 提醒方式：手机邮箱
	 */
	String	WARN_WAY_ALL			= "all";
	/**
	 * 失效
	 */
	int		INVAILD_STATUS			= -1;
	/**
	 * 有效
	 */
	int		EFFECTIVE_STATUS		= 1;
	/**
	 * 冻结状态
	 */
	int		FROZEN_STATUS			= 0;

	//用户有效
	int U_EFFECTIVE_STATUS = EFFECTIVE_STATUS;
	//用户失效
	int U_INVAILD_STATUS = INVAILD_STATUS;
	//用户冻结
	int U_FROZEN_STATUS = FROZEN_STATUS;

	/**
	 * 操作成功
	 */
	String	SUCCESS					= "SUCC";
	final String	success					= "success";
	/**
	 * 操作失败
	 */
	String	FAILURE					= "FAIL";
	/**
	 * 无权限
	 */
	String	NOPOWER					= "NOPOWER";
	/**
	 * 上传
	 */
	String	OPER_UPLOAD				= "UPLOAD";
	/**
	 * 充值
	 */
	String	OPER_CHARGE				= "CHARGE";
	/**
	 * 删除
	 */
	String	OPER_DELET				= "DELETE";
	/**
	 * 更新密码么
	 */
	String	OPER_UPDATE_PASSWORD	= "UPDATE_PASSWORD";
	/**
	 * 更新用户信息
	 */
	String	OPER_UPDATE_USERINFO	= "UPDATE_USERINFO";

	/**
	 * 用户名
	 */
	String	USERNAME		= "userName";
	/**
	 * 密码
	 */
	String	PASSWORD		= "password";
	/**
	 * 确认密码
	 */
	String	COFIRM_PASSWORD	= "cofirmPassword";
	/**
	 * 当前密码
	 */
	String	CUR_PWD			= "curPwd";
	/**
	 * 获取图片常量
	 */
	String	IMGPROPERTIES	= "imageProperties";
	/**
	 * 获取视频常量
	 */
	String	VIDEOPRPPERTIES	= "videoProperties";

	String USERID = "userId";

	int UNREADED = 0;

	int READED = 1;

	String	COMPANY				= "company";
	String	QNID				= "QNId";
	String	BUSINESS_LICENSE	= "businessLicense";
	String	FILE				= "file";

	/**
	 * 投放区域
	 */
	String PUT_AREA = "putArea";

	/**
	 * 投放区域Id
	 */
	String PUT_ID = "putId";

	/**
	 * 投放金额
	 */
	String	PUT_MONEY	= "putMoney";
	/**
	 * 充值金额
	 */
	String	BALANCE		= "balance";
	/**
	 * 投放单价
	 */
	String	PUT_PRICE	= "putPrice";
	/**
	 * 封面地址
	 */
	String	COVER_URL	= "coverUrl";
	/**
	 * 视频地址
	 */
	String	VIDEO_URL	= "videoUrl";

	/**
	 * 描述
	 */
	String DESC = "desc";

	String AREA_LIST = "areasList";

	String	ALL_PUT			= "country";
	/**
	 * 视频时长
	 */
	String	VIDEO_TIME		= "videoTime";
	/**
	 * 素材id
	 */
	String	VIDEO_SOURCE	= "videoSourceId";
	/**
	 * 虚拟币
	 */
	String	INTEGRAL		= "integral";
	/**
	 * 总播放次数
	 */
	String	TOTAL_PLAY_NUM	= "totalPlayNum";

	String VIDEO_ID = "videoId";

	String LOGIN_USER = "login_user";

	int RES_SUCC = 1;

	/** 活动状态 */
	/**
	 * 未开启
	 */
	int	ACTIVITY_STATUS_NO	= 0;
	/**
	 * 开启
	 */
	int	ACTIVITY_STATUS_OK	= 1;

	/**
	 * 未开启
	 */
	String	ACTIVITY_STATUS_NO_DESC	= "未开启";
	/**
	 * 开启
	 */
	String	ACTIVITY_STATUS_OK_DESC	= "开启";

	/*分享状态*/
	/**
	 * 未成功
	 */
	int	SHARE_STATUS_NO	= 0;
	/**
	 * 成功
	 */
	int	SHARE_STATUS_OK	= 1;
}
